package com.example.xxpk.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UsersBo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("OPENID")
    private String openId;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("用户头像")
    private String avatarUrl;

    @ApiModelProperty("用户等级")
    private Integer lv;

    @ApiModelProperty("用户经验值 ")
    private Integer exp;

    @ApiModelProperty("用户灵石数量")
    private Integer diamond;

    @ApiModelProperty("用户极品灵石数量")
    private Integer premiumDiamond;

    @ApiModelProperty("通用道具数量")
    private Integer universalProps;

    @ApiModelProperty("最高分")
    private Integer highestScore;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("用户令牌")
    private String token;

}

